package net.mikoo.seals.biz.mapper;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import net.mikoo.seals.model.OrganizationParty;
import net.mikoo.seals.model.OrganizationPartyQuery;

@MapperScan
public interface OrganizationPartyMapper {
	
	Integer insert(OrganizationParty organizationParty);
	
	List<OrganizationParty> selectByQueryToPage(OrganizationPartyQuery query);
	
	Integer countByQueryToPage(OrganizationPartyQuery query);
	
	OrganizationParty selectInfoByQuery(OrganizationPartyQuery query);
	
	Integer delete(OrganizationParty organizationParty);
}